CLI Scanner Command Line Arguments

Command Line Arguments for Scan Type

If you have chosen to download the CLI Scanner and not the Powershell or curl scripts, it will be named iscanruntime_XXXXXX_.exe (where XXXXXX is the short code for the scan type you selected). The file is named this as a matter of convenience so that command line switches are not required.

The download is saved to your default download directory. You can move it to a different directory, but when you are ready to run the scan you need to be in the correct directory.

Once the file is downloaded, navigate to the correct directory and type in:

iscanruntime_XXXXXX_.exe

This will run the scan for the type that is assigned to that short code.

Alternatively, you can also rename the file to iscanruntime.exe and pass a command line argument with the desired short code. For example:

C:>ren iscanruntime_XXXXXX.exe iscanruntime.exe

Then:

C:> iscanruntime -k XXXXXX

This allows you to store a single copy of the executable on a shared file path and pass the desired scan configuration short code to the executable at run time.

Command Line Arguments for Proxy

If you need to scan devices behind a proxy, Risk Intelligence requires an internet connection and the ability to send HTTPS (443) traffic to https://app.iscanonline.com.

The CLI scanner accepts as an argument the proxy server IP and port for authentication as shown below:

C:> iscanruntime -k XXXXXX -x 192.168.1.2:8080